package cn.ly.link.data;

public class LinkQueue<E> {
	
	private DoubleLinkList linkList;
	public LinkQueue(){
		this.linkList = new DoubleLinkList();
	}
	
	public boolean isEmpty(){
		return this.linkList.isEmpty();
	}
	
	public void insert(int i){
		this.linkList.insertLast(i);
	}
	
	public E remove(){
		return (E)this.linkList.removeFirst();
	}
	
	public void displayQueue(){
		this.linkList.display();
	}

}
